import { createRouter, createWebHashHistory } from 'vue-router'

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      name:'home',
      path: '/home',
      component:()=>import('../components/Home.vue')
    },
    {
      name:'about',
      path: '/about',
      component:()=>import('../components/About.vue')
    },
    {
      name:'news',
      path: '/news',
      component:()=>import('../components/News.vue')
    }
  ]
})

export default router;